package com.tangxz.chat.common.dto;

import lombok.Data;
import lombok.ToString;

/**
 * 一条消息
 * @author: 唐小尊
 * @email: 1171702529@qq.com
 * @cate: 2021/04/23 10:35
 */
@Data
@ToString
public class Msg {
    private String content;
    private Integer type;
    private Long time;
    private Boolean isMe;

    public Msg() {
    }

    public Msg(String content, Integer type, Long time, Boolean isMe) {
        this.content = content;
        this.type = type;
        this.time = time;
        this.isMe = isMe;
    }
}
